import request from '@/router/axios';

export const getList = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/stat-production-query/production-query-report',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};

export const getTotal = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/stat-production-query/production-query-report-summary',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};

export const getReportDetail = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/stat-production-query/production-query-report-detail',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};